AppManagerinterface
App Management API that allows you to handle your interop-enabled apps.
14 Methods
application()⚓︎
(name: string) => Application | undefined
Retrieves an app by name.
Parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
| name⚓︎ | string | Name of the desired app. |
getConfigurations()⚓︎
(apps?: string[]) => Promise<Definition[]>
Retrieves the configurations of the specified apps.
Parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
| apps⚓︎ | string[] | x | List of names of the apps for which to retrieve configurations. |
getConfigurations()⚓︎
(apps: string[]) => Promise<Record<string, any>>
Parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
| apps⚓︎ | string[] | x |
onAppAdded()⚓︎
(callback: (app: Application) => any) => UnsubscribeFunction
Notifies when an app is registered in the environment.
Parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
| callback⚓︎ | (app: Application) => any | Callback function for handling the event. |
onAppAvailable()⚓︎
(callback: (app: Application) => any) => UnsubscribeFunction
Notifies when an app is available and can be started.
Parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
| callback⚓︎ | (app: Application) => any | Callback function for handling the event. |
onAppChanged()⚓︎
(callback: (app: Application) => any) => UnsubscribeFunction
Notifies when the configuration for an app has changed.
Parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
| callback⚓︎ | (app: Application) => any | Callback function for handling the event. |
onAppRemoved()⚓︎
(callback: (app: Application) => any) => UnsubscribeFunction
Notifies when an app is removed from the environment.
Parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
| callback⚓︎ | (app: Application) => any | Callback function for handling the event. |
onAppUnavailable()⚓︎
(callback: (app: Application) => any) => UnsubscribeFunction
Notifies when an app is no longer available and can't be started.
Parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
| callback⚓︎ | (app: Application) => any | Callback function for handling the event. |
onInstanceStarted()⚓︎
(callback: (instance: Instance) => any) => UnsubscribeFunction
onInstanceStartFailed()⚓︎
(callback: (instance: Instance) => any) => UnsubscribeFunction
onInstanceStopped()⚓︎
(callback: (instance: Instance) => any) => UnsubscribeFunction
onInstanceUpdated()⚓︎
(callback: (instance: Instance) => any) => UnsubscribeFunction